﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ins.Packaging
{

    /// <summary>
    /// Stores basic information settings for packages.
    /// </summary>
    /// <remarks>
    /// This class provides base functionality for package settings. It acts as a container to store constants, relationship types, namespaces, etc.
    /// This class should be derived to provide standard features for Word, Excel, etc.
    /// </remarks>
    public class PackageSettings
    {
        /// <summary>
        /// The package relationship type, used to return the document part.
        /// </summary>
        public string PackageRelationshipType { get; set; }
        /// <summary>
        /// A resource relationship type.
        /// </summary>
        public string ResourceRelationshipType { get; set; }

        /// <summary>
        /// The default Xml namespace (xmlns).
        /// </summary>
        public const string XmlnsNS = @"http://www.w3.org/2000/xmlns/";

        /// <summary>
        /// Initializes a PackageSettings object.
        /// </summary>
        public PackageSettings()
        {
            PackageRelationshipType = @"http://schemas.microsoft.com/opc/2006/sample/document";
            ResourceRelationshipType = @"http://schemas.microsoft.com/opc/2006/sample/required-resource";
        }
    }

}
